package com.learn.flyweight;

/**
 * <p>项目名称: design-pattern </p>
 *
 * <p>文件名称: Color </p>
 *
 * 颜色枚举类
 */
public enum Color {

    BLACK("黑色"),WHITE("白色");

    String detail;

    Color(String detail) {
        this.detail = detail;
    }

    public String getDetail() {
        return detail;
    }
}
